package cn.zhoumingxin.Test;

import java.util.Scanner;

public class TestJudgmentLeapYear {
	public static void main(String[] args) {
		//判断闰年
		Scanner in = new Scanner(System.in);
		
		int year;
		year = in.nextInt();
		
		if(year%4 == 0&&year%100 != 0||year%400 == 0) {
			System.out.println("闰年");
		}else {
			System.out.println("平年");
		}
	}

}
